package net.lahuobao.mall.entity.admin;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 结算
 * @author zhangdaihao
 * @date 2016-09-20 10:37:31
 * @version V1.0   
 *
 */
@Entity
@Table(name = "mall_shop_settlement", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class MallShopSettlementEntity implements java.io.Serializable {
	/**id*/
	private java.lang.Integer id;
	/**settlementstatus*/
	private java.lang.Integer settlementstatus;
	/**orderid*/
	private java.lang.Integer orderid;
	/**settlementmoney*/
	private BigDecimal settlementmoney;
	/**settlementexpenses*/
	private BigDecimal settlementexpenses;
	/**settlementexpensesadvance*/
	private BigDecimal settlementexpensesadvance;
	/**settlementtime*/
	private java.util.Date settlementtime;
	/**结算执行时间*/
	private java.util.Date settleexcutetime;
	/**applyuserid*/
	private java.lang.Integer applyuserid;
	/**applytime*/
	private java.util.Date applytime;
	/**settlementtype*/
	private java.lang.Integer settlementtype;
	/**settlementuserid*/
	private java.lang.Integer settlementuserid;
	/**createtime*/
	private java.util.Date createtime;
	/**0未通过，1已通过*/
	private java.lang.Integer auditstatus;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  id
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  settlementstatus
	 */
	@Column(name ="SETTLEMENTSTATUS",nullable=false,precision=10,scale=0)
	public java.lang.Integer getSettlementstatus(){
		return this.settlementstatus;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  settlementstatus
	 */
	public void setSettlementstatus(java.lang.Integer settlementstatus){
		this.settlementstatus = settlementstatus;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  orderid
	 */
	@Column(name ="ORDERID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getOrderid(){
		return this.orderid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  orderid
	 */
	public void setOrderid(java.lang.Integer orderid){
		this.orderid = orderid;
	}
	/**
	 *方法: 取得BigDecimal
	 *@return: BigDecimal  settlementmoney
	 */
	@Column(name ="SETTLEMENTMONEY",nullable=false,precision=18,scale=2)
	public BigDecimal getSettlementmoney(){
		return this.settlementmoney;
	}

	/**
	 *方法: 设置BigDecimal
	 *@param: BigDecimal  settlementmoney
	 */
	public void setSettlementmoney(BigDecimal settlementmoney){
		this.settlementmoney = settlementmoney;
	}
	/**
	 *方法: 取得BigDecimal
	 *@return: BigDecimal  settlementexpenses
	 */
	@Column(name ="SETTLEMENTEXPENSES",nullable=false,precision=18,scale=2)
	public BigDecimal getSettlementexpenses(){
		return this.settlementexpenses;
	}

	/**
	 *方法: 设置BigDecimal
	 *@param: BigDecimal  settlementexpenses
	 */
	public void setSettlementexpenses(BigDecimal settlementexpenses){
		this.settlementexpenses = settlementexpenses;
	}
	/**
	 *方法: 取得BigDecimal
	 *@return: BigDecimal  settlementexpensesadvance
	 */
	@Column(name ="SETTLEMENTEXPENSESADVANCE",nullable=true,precision=18,scale=2)
	public BigDecimal getSettlementexpensesadvance(){
		return this.settlementexpensesadvance;
	}

	/**
	 *方法: 设置BigDecimal
	 *@param: BigDecimal  settlementexpensesadvance
	 */
	public void setSettlementexpensesadvance(BigDecimal settlementexpensesadvance){
		this.settlementexpensesadvance = settlementexpensesadvance;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  settlementtime
	 */
	@Column(name ="SETTLEMENTTIME",nullable=true)
	public java.util.Date getSettlementtime(){
		return this.settlementtime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  settlementtime
	 */
	public void setSettlementtime(java.util.Date settlementtime){
		this.settlementtime = settlementtime;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  结算执行时间
	 */
	@Column(name ="SETTLEEXCUTETIME",nullable=true)
	public java.util.Date getSettleexcutetime(){
		return this.settleexcutetime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  结算执行时间
	 */
	public void setSettleexcutetime(java.util.Date settleexcutetime){
		this.settleexcutetime = settleexcutetime;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  applyuserid
	 */
	@Column(name ="APPLYUSERID",nullable=true,precision=10,scale=0)
	public java.lang.Integer getApplyuserid(){
		return this.applyuserid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  applyuserid
	 */
	public void setApplyuserid(java.lang.Integer applyuserid){
		this.applyuserid = applyuserid;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  applytime
	 */
	@Column(name ="APPLYTIME",nullable=true)
	public java.util.Date getApplytime(){
		return this.applytime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  applytime
	 */
	public void setApplytime(java.util.Date applytime){
		this.applytime = applytime;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  settlementtype
	 */
	@Column(name ="SETTLEMENTTYPE",nullable=true,precision=10,scale=0)
	public java.lang.Integer getSettlementtype(){
		return this.settlementtype;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  settlementtype
	 */
	public void setSettlementtype(java.lang.Integer settlementtype){
		this.settlementtype = settlementtype;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  settlementuserid
	 */
	@Column(name ="SETTLEMENTUSERID",nullable=true,precision=10,scale=0)
	public java.lang.Integer getSettlementuserid(){
		return this.settlementuserid;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  settlementuserid
	 */
	public void setSettlementuserid(java.lang.Integer settlementuserid){
		this.settlementuserid = settlementuserid;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  createtime
	 */
	@Column(name ="CREATETIME",nullable=true)
	public java.util.Date getCreatetime(){
		return this.createtime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  createtime
	 */
	public void setCreatetime(java.util.Date createtime){
		this.createtime = createtime;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  0未通过，1已通过
	 */
	@Column(name ="AUDITSTATUS",nullable=false,precision=10,scale=0)
	public java.lang.Integer getAuditstatus(){
		return this.auditstatus;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  0未通过，1已通过
	 */
	public void setAuditstatus(java.lang.Integer auditstatus){
		this.auditstatus = auditstatus;
	}
}
